<template>
	<view class="attend-box">
		<view class="attend-wrap" v-for="(item,index) in activeList" :key="index">
			<view class="active-head">
				<view class="head-img">
					<img :src="item.icon" alt="">
				</view>
				<view class="active-name-info">
					<view class="active-name">
						{{item.name}}
					</view>
					<view class="active-introduce">
						{{item.companyName}}
					</view>
				</view>
			</view>
			<view class="attend-time">
				{{item.signTime}}
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				// 活动信息列表
				activeList: [

				]
			}
		},
		onShow() {
			this.activeList = JSON.parse(uni.getStorageSync('signPersonList'))
		}
	}
</script>

<style lang="scss" scoped>
	.attend-box {
		background: #FFFFFF;
		padding: 0 30upx;

		.attend-wrap {
			display: flex;
			justify-content: space-between;
			border-bottom: 1upx solid #EEEEEE;
			padding: 40upx 0;

			.active-head {
				display: flex;
				letter-spacing: 3upx;
				width: 50%;

				.head-img {
					width: 72upx;
					height: 72upx;
					border-radius: 50%;

					img {
						width: 72upx;
						height: 72upx;
						margin-top: 1upx;
					}
				}

				.active-name-info {
					margin-left: 21upx;

					.active-name {
						font-size: 30upx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #000000;
					}

					.active-introduce {
						margin-top: 19upx;
						font-size: 24upx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #999999;
						overflow: hidden;
						text-overflow: ellipsis;
						white-space: nowrap;
						width: 400upx;
					}
				}
			}

			.attend-time {
				font-size: 24upx;
				font-family: PingFang SC;
				font-weight: 400;
				color: #999999;
				line-height: 72upx;
				width: 50%;
				text-align: right;
			}
		}

	}
</style>
